<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>九九乘法表</title>
	<style>
		div{display: inline-block;margin-right: 5px;width: 60px;}
	</style>
	<script>
	var num=0;
	for (var i =9; i >= 1; i--) {
		for (j = 1; j <= 9; j++) {
			num=i*j;
			if (j<=i) {
				document.write("<div>"+j+"*"+i+"="+num+"</div>");
			}
		}
		document.write("<br/>");
	}
	</script>
</head>
<body>
	
</body>
</html>